-- card: 36385 from stack: in.3r -- bmap block id: 0 -- flags: 0000 -- background id: 3837 -- name: SortRealsII -- part contents for background part 5 ----- text ----- SortRealsII -- part contents for background part 6 ----- text ----- SortRealsII XFCN will sort real numbers contained in a field into ascending order. The numbers should be separated by spaces. (The numbers are "words" in HC parlance.). SortRealsII is for the Mac II only. This XFCN is FreeWare. You may use it freely in any of your stacks, for your own, or commercial use or extend its capablities to return averages or whatever. SHOW ME YOUR XCMD SOURCE CODE! SortReals* was written in Lightspeed™ Pascal and SortRealsII was written in MPW Pascal. George Coyne GENIE: GWCOYNE CIS: 75776,1463 -- part contents for background part 7 ----- text ----- Syntax: SortRealsII() Where: input: Any HyperCard Container The functions return a sorted list. Example: put SortReals(input) into output output may be the same container as input. SortRealsII is considerably faster than SortReals* on longer lists thanks to the 68881. -- part contents for background part 10 ----- text ----- 39 -- part contents for background part 27 ----- text ----- XFCN